
<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<title>收货地址</title>
	<script src="__INDEX__/tem/js/mui.min.js"></script>
	<link href="__INDEX__/tem/css/mui.min.css" rel="stylesheet" />
	<link rel="stylesheet" href="__INDEX__/tem/css/style.css" />
	<link rel="stylesheet" href="__INDEX__/tem/css/iconfont.css" />
	<link rel="stylesheet" href="__INDEX__/tem/css/xn.css" />
	<script type="text/javascript" charset="utf-8">
		mui.init();
	</script>
</head>

<body>
	<header class="mui-bar mui-bar-nav">
	    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
	    <h1 class="mui-title">收货地址</h1>
	</header>
	<div class="mui-content  list_content">
		<form class="mui-input-group shdz_lisgroup">
			<ul class="nzcg_shdzlist">
				{volist name="list" id="vo" empty="没有数据"}
				<li>
					
					<div class="shdz_listop">
						<div class="shdz_nambox clearfix">
							<span class="shdz_nam">{$vo.realname}</span>
							<span class="shdz_pnum">{$vo.mobile}</span>
						</div>
						<p class="shdz_xxdz">{$vo.address}</p>
					</div>
					
					<div class="shdz_lisbottom clearfix">
						<div class="left">
							<div class="mui-input-row mui-radio mui-left">
								<label>默认地址</label>
								<input name="isdefault" type="radio" value="{$vo.isdefault}" {if $vo.isdefault == '1'}checked="checked"{/if}>
							</div>
						</div>
						<div class="right">
							<a href="{:url('member/address_update',['id'=>$vo.id])}"><span class="iconfont icon-bianji1"></span>编辑</a>
							<a href="javascript:;" onclick="app.del('{$vo.id}','{:url(\'member/address_del\')}')"><span class="iconfont icon-shanchu1"></span>删除</a>
						</div>
					</div>
				</li>
				{/volist}
			</ul>
		</form>
		<button type="button" class="zjt_pbtn" onclick="address()">添加新地址</button>
	</div>

</body>

</html>
<script src="__JS__/jquery.min.js"></script>
<script src="__JS__/index.js"></script>
<script src="__LIB__/layer.js"></script>
<script type="text/javascript">
	function address(){
		location.href="{:url('member/address_add')}";
	}
</script>
